package cn.com.surker.enums.mes;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * @Author tf
 * @create 2025年3月9日21:38:17
 * @desc 单价枚举
 */
public enum PriceTypeEnum implements ICodeDescEnum {

    BASICUNITPRICE(0,"基础单价"),
    INCREMENTTHEUNITPRICE(1,"递增单价");

    private final String description;

    private final Integer code;

    PriceTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    @Override
    public String getDescription() {
        return description;
    }

    public Integer getCode() {
        return code;
    }
}